package com.gimi.cloud.bbp.dto.page;

import java.util.List;

import javax.persistence.Transient;

import com.gimi.cloud.bbp.dto.base.BaseDTO;

public class PageColumnDTO extends BaseDTO{
	
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	private Integer id;
	
	/**
	 * pid
	 */
	private Integer pId;
	
	/**
	 * 页面ID
	 */
	private Integer pageId;
	
	/**
	 * 模块名称
	 */
	private String columnlName;
	
	/**
	 * 排序
	 */
	private Integer sort;
	
	/**
	 * 是否显示（用于紧急下架）:1不显示，0x
	 */
	private Integer display;
	
	/**
	 * 类型:1banner 2今日推荐 3专场
	 */
	private Integer type;
	
	@Transient
	private List<PageColumnDTO> pageColumns;
	
	@Transient
	private PageModelDTO PageModel;

	/**
	 * 模板ID
	 */
	private Integer pageTemplateId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getpId() {
		return pId;
	}

	public void setpId(Integer pId) {
		this.pId = pId;
	}

	public Integer getPageId() {
		return pageId;
	}

	public void setPageId(Integer pageId) {
		this.pageId = pageId;
	}

	public String getColumnlName() {
		return columnlName;
	}

	public void setColumnlName(String columnlName) {
		this.columnlName = columnlName;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Integer getDisplay() {
		return display;
	}

	public void setDisplay(Integer display) {
		this.display = display;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public List<PageColumnDTO> getPageColumns() {
		return pageColumns;
	}

	public void setPageColumns(List<PageColumnDTO> pageColumns) {
		this.pageColumns = pageColumns;
	}


	public Integer getPageTemplateId() {
		return pageTemplateId;
	}

	public void setPageTemplateId(Integer pageTemplateId) {
		this.pageTemplateId = pageTemplateId;
	}

	public PageModelDTO getPageModel() {
		return PageModel;
	}

	public void setPageModel(PageModelDTO pageModel) {
		PageModel = pageModel;
	}
	
	

}
